// 问候语
export const hello = () => {
	//获取当前时间
	let hour = new Date().getHours()
	let	hello = null
	if (hour < 6) {
		hour = "凌晨好"
	} else if (hour < 9) {
		hello = "早上好"
	} else if (hour < 12) {
		hello = "上午好"
	} else if (hour < 14) {
		hello = "中午好"
	} else if (hour < 17) {
		hello = "下午好"
	} else if (hour < 19) {
		hello = "傍晚好"
	} else if (hour < 22) {
		hello = "晚上好"
	} else {
		hello = "夜里好"
	}
	return hello
}
